package spark_study

import scala.collection.mutable.ArrayBuffer

object test1 {
  def main(args: Array[String]): Unit = {
    val arr = ArrayBuffer(("a", 1), ("b", 2), ("c", 3), ("d", 4))
//    var tuples: Array[] = Array(("a", 1), ("b", 2), ("c", 3), ("d", 4))
     arr.append(("e",5))
    println(arr.toList)
  }
}
